package cn.marinda.listener;

import cn.marinda.gui.impl.AuthorInfoDialog;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/**
 * 开放作者信息事件
 *
 * @author marinda
 * @date 2022/08/01
 */
public class OpenAuthorInfoEvent implements ActionListener {

    /**
     * 开放作者信息事件
     */
    public OpenAuthorInfoEvent()
    {

    }

    @Override
    public void actionPerformed(ActionEvent e) {
        AuthorInfoDialog.instance.close();
        AuthorInfoDialog.instance.open();
    }
}
